<template>
    <div id="AddressEdit">
        <van-doctor-card
            v-for="(item, index) in list1"
            :key="index"
            :avatar-offset-top="4"
            :avatar-figure="7"
            :avatar-size="68"
            :name="item.name"
            :title="item.title"
            :hospital="item.hospital"
            :department="item.department"
            :skill="item.skill"
            :score="item.score"
            :receive-num="item.receiveNum"
            show-online
            :online="item.online"
        >
            <div slot="corner" class="flex-align">
                <van-icon name="photo" color="#98B3DB" size="11" />
                <van-icon
                    style="margin-left: 10px"
                    name="phone"
                    color="#98B3DB"
                    size="11"
                />
                <van-icon
                    style="margin-left: 10px"
                    name="video"
                    color="#98B3DB"
                    size="14"
                />
            </div>
        </van-doctor-card>
    </div>
</template>

<script>
export default {
    data() {
        return {
            list1: [
                {
                    name: "吴化平",
                    title: "副主任医师",
                    hospital: "浙江大学附属第一医院",
                    department: "脑肿瘤科",
                    skill: "冠心病外科治疗、心脏不停跳下",
                    receiveNum: 40,
                    score: 4,
                    online: true,
                },
                {
                    name: "秦英",
                    title: "主任医师",
                    hospital: "浙江省中医院",
                    department: "呼吸内科",
                    skill: "急性上呼吸道感染、肺炎、哮喘，急性上呼吸道感染、肺炎、哮喘",
                    receiveNum: 86,
                    score: 4.8,
                    online: false,
                },
            ],
        };
    },
};
</script>
